package com.example.appfighter.modalidade;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

import com.example.appfighter.R;

public class DetalheKickboxingActivity extends Activity implements
		OnClickListener {

	TextView txtRegra;
	Button btnVoltarkick;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_detalhe_kickboxing);

		btnVoltarkick = (Button) findViewById(R.id.btnVoltarKick);
		btnVoltarkick.setOnClickListener(this);

		txtRegra = (TextView) findViewById(R.id.txtRegra);

		txtRegra.setText(R.string.regrasKickboxing);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.kickboxing, menu);
		return true;
	}

	@Override
	public void onClick(View v) {
		if (v.getId() == R.id.btnVoltarKick) {
			finish();
		}

	}
}
